140

Beginner’s Guide to Code Algorithms

140

STEP 2

Invoking text-​to-​speech function.

If MotionSensed =​ “Y” Then

    If x < 12 Then

      Worksheets(“Greetings”).Cells(1, 1).Speak

    Else

      If x < 16 Then

        Worksheets(“Greetings”).Cells(2, 1).Speak

      Else

        If x < 18 Then

          Worksheets(“Greetings”).Cells(3, 1).Speak

        Else

          Worksheets(“Greetings”).Cells(4, 1).Speak

        End If

      End If

    End If

End If

End Sub

Once again—​we see the powerful combination of the laptop and its speaker along

with the camera producing a useful result for a user that puts collaboration to good use.

10.6  CONCLUSION

The three experiments shown in this chapter provide useful insight on what can be

achieved through multiple systems interacting with each other. The possibilities are

endless.

I invite you to consider other applications that can interact with Excel and build a

collaboration scenario on your own.